﻿using Chloe.Annotations;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyData.Models
{
    [TableAttribute("UserInfo")]
    /// <summary>
    /// 普通用户
    /// </summary>
    public class UserInfo : EntityBase
    {
        [StringLength(50)]
        public string NickName { get; set; }
        public int IsZhengShi { get; set; }
        public Guid DepartId { get; set; }
        [StringLength(20)]
        public string RoleName { get; set; }
        public Guid? PositionId { get; set; }
        [StringLength(20)]
        public string Nation { get; set; }
        public int Sex { get; set; }
        public int Age { get; set; }
        [StringLength(50)]
        public string WorkNum { get; set; }
        
        [StringLength(50)]
        public string CardNum { get; set; }
        [StringLength(50)]
        public string PhoneNum { get; set; }
        [StringLength(100)]
        public string Address { get; set; }
        [StringLength(150)]
        public string HeadUrl { get; set; }
        public int NeedConfirm { get; set; }
    }
}
